<?php

include_once 'lib/import.php';

/**
 * RECT 구조체 표현
 *
 */
class RECT extends WBStruct {

    public function __construct($unpack = null) {
        $data = array(
            array('name' => 'left',    'type' => WBType::LONG),
            array('name' => 'top',      'type' => WBType::LONG),
            array('name' => 'right',    'type' => WBType::LONG),
            array('name' => 'bottom',  'type' => WBType::LONG),
        );

        parent::__construct($data, $unpack);
    }
}

echo new RECT();

?>